package cn.ibizlab.odoo.core.odoo_account.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_account.domain.Account_invoice_tax;
import cn.ibizlab.odoo.core.odoo_account.filter.Account_invoice_taxSearchContext;

/**
 * 实体[Account_invoice_tax] 服务对象接口
 */

public interface IAccount_invoice_taxService{
     void updateBatch(List<Account_invoice_tax> account_invoice_taxs, int batchSize) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     void createBatch(List<Account_invoice_tax> account_invoice_taxs, int batchSize) ;
     boolean update(Account_invoice_tax account_invoice_tax) ;
     Account_invoice_tax get(Integer id) ;
     Account_invoice_tax get(Account_invoice_tax account_invoice_tax) ;
     boolean create(Account_invoice_tax account_invoice_tax) ;
     boolean remove(Integer id) ;

    /**
     * 查询集合 默认查询
     */
    Page<Account_invoice_tax> searchDefault(Account_invoice_taxSearchContext context) ;

    /**
     * 根据科目查询
     */
     Page<Account_invoice_tax> selectByOdoo_account(Integer id) ;

    /**
     * 根据分析账户查询
     */
     Page<Account_invoice_tax> selectByOdoo_account_analytic(Integer id) ;

    /**
     * 根据发票查询
     */
     Page<Account_invoice_tax> selectByOdoo_invoice(Integer id) ;

    /**
     * 根据税率查询
     */
     Page<Account_invoice_tax> selectByOdoo_tax(Integer id) ;

    /**
     * 根据公司查询
     */
     Page<Account_invoice_tax> selectByOdoo_company(Integer id) ;

    /**
     * 根据币种查询
     */
     Page<Account_invoice_tax> selectByOdoo_currency(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_invoice_tax> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_invoice_tax> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Account_invoice_tax convert2Domain(cn.ibizlab.odoo.core.client.model.Iaccount_invoice_tax model ,Account_invoice_tax domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iaccount_invoice_tax convert2Model(Account_invoice_tax domain , cn.ibizlab.odoo.core.client.model.Iaccount_invoice_tax model);

}
